package com.example.heartprotectionserver.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 张力文
 * @since 2023-07-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_application")
public class Application implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    @TableId(value = "user_id", type = IdType.AUTO)
    private Long user_id;

    /**
     * 身份id
     */
    private Long identity_id;

    /**
     * 认证申请id
     */
    private Long id;

    /**
     * 申请时间
     */
    private LocalDateTime apply_time;

    /**
     * 认证状态(0为审核中，-1为审核失败，1为审核通过)
     */
    private Integer status;

    /**
     * 证明身份的图片(比如拍一张救护员证)的url
     */
    private String evidence;


}
